//
//  SEGMenberPointsViewModel.h
//  SEGViewModel
//
//  Created by 山刘 on 2020/5/28.
//

#import <Foundation/Foundation.h>
#import "SEGIntegralManager.h"
#import "SEGBanalcesModel.h"
#import "SEGBalanceForHbModel.h"

NS_ASSUME_NONNULL_BEGIN
@interface SEGMenberPointsViewModel : NSObject
@property (nonatomic, strong)SEGIntegralManager *managerIntegral;
@property(nonatomic,strong)NSArray<SEGBanalcesModel*>* dataSource;
@property(nonatomic,strong)NSArray<SEGBalanceForHbModel*>* dataSourceCash;
@property(nonatomic,assign)SEGBanalceType banalceType;

-(void)loadDataintegral:(NSString*)userID completed:(void(^)(NSString*all,NSString*today,NSString*yesterday))completed;

-(void)loadData_Integral:(void(^)(void))complted;

-(void)loadBalanceForHb:(void(^)(BOOL hasRecord,CGFloat cashTotal))completed;
@end

NS_ASSUME_NONNULL_END
